package temp.lho.lws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import temp.lho.lws.mapper.IBaseMapper;
import temp.lho.lws.mapper.ObjectDamageInfoMapper;
import temp.lho.lws.pojo.ObjectDamageInfo;
import temp.lho.lws.service.IObjectDamageInfoService;

import java.util.List;

/**
 * (ObjectDamageInfo)表服务实现类
 *
 * @author makejava
 * @since 2020-07-06 23:15:37
 */
@Service("objectDamageInfoService")
public class ObjectDamageInfoServiceImpl extends BaseServiceImpl<ObjectDamageInfo> implements IObjectDamageInfoService {

    @Autowired
    private ObjectDamageInfoMapper objectDamageInfoMapper;

    @Override
    protected IBaseMapper<ObjectDamageInfo> baseMapper() {
        return objectDamageInfoMapper;
    }

    @Override
    public List<ObjectDamageInfo> findByClaimmainid(Integer claimmainid) {
        return objectDamageInfoMapper.findByClaimmainid(claimmainid);
    }
}
